package com.service.bracelet.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.service.bracelet.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 用户mapper
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    long queryListTotal(Map<String, Object> params);

    List<User> queryList(Map<String, Object> params);

    User getUserByAccount(Map<String, Object> params);

    User getUserForVerify(Map<String, Object> params);

    User getUserById(Map<String, Object> params);

    void updateInfo(Map<String, Object> params);

    void updatePassword(Map<String, Object> params);

    void register(Map<String, Object> params);
}
